#define max(a,b) \
    ({ __typeof__ (a) _a = (a); \
       __typeof__ (b) _b = (b); \
       _a > _b ? _a : _b; })
#define min(a,b) \
    ({ __typeof__ (a) _a = (a); \
       __typeof__ (b) _b = (b); \
       _a < _b ? _a : _b; })

__thread int var_239 = -1471758285;
void test(_Bool var_1, unsigned char var_2, unsigned short var_3, unsigned char var_5, unsigned short var_6, unsigned int var_7, unsigned short var_10, unsigned char var_12, _Bool arr_520 [22] [24] [14] [18], _Bool arr_522 [22] [24] [14] [18], unsigned short arr_627 [22] [24] [11] [15], int arr_633 [22] [24] [11] [15] [21]) {
    for (unsigned int i_63 = ((((unsigned int) ((((_Bool) ((max((var_7), (((unsigned int) -913452457)))) | (((unsigned int) (((_Bool)1) ? (((int) var_12)) : (((int) var_6)))))))) ? (((((5492116530606287527ULL) | (((unsigned long long int) ((int) var_12))))) & (((unsigned long long int) ((unsigned int) (unsigned char)5))))) : (max((((unsigned long long int) var_1)), (((((_Bool) var_6)) ? (4587661380964526509ULL) : (((unsigned long long int) ((int) (_Bool)1)))))))))) - (5U)); i_63 < 22U; i_63 += ((unsigned int) ((((_Bool) ((unsigned int) ((unsigned long long int) 9218868437227405328ULL)))) ? (((int) ((((int) min((((unsigned short) var_5)), (var_3)))) != (((int) ((((_Bool) var_10)) && (((_Bool) var_5)))))))) : (((int) var_2))))) 
    {
        for (int i_155 = ((max((((((_Bool) ((int) var_12))) ? (((((_Bool) -1537990092)) ? (1015808) : (((int) arr_520 [i_63] [0] [0] [0])))) : (-1353015370))), (((int) arr_522 [i_63] [0] [0] [0])))) - (1015808)); i_155 < ((((int) max((var_7), (((unsigned int) max((((int) arr_627 [i_63] [0] [0] [0])), (((int) var_7)))))))) + (1296902950)); i_155 += ((((int) var_2)) - (203))) 
        {
            var_239 = ((int) arr_633 [i_63] [0] [0] [0] [i_155]);
        }
    }
}
